#include <QApplication>
#include <QPushButton>
#include <QLabel>

int main(int argc , char **argv)
{
	QApplication app(argc , argv);
	QLabel qlab("111111");
	QPushButton qbt("closelab");
/*
	QObject::connect(&qbt, SIGNAL(clicked()),
                   &qlab,  SLOT(close()));
*/
	QObject::connect(&qbt, SIGNAL(clicked()),
                   &app,  SLOT(closeAllWindows()));
	qlab.show();
	qbt.show();
	return app.exec();
}
